package com.tjhzzx.hnceCore2024.model.ext;

import javax.baja.sys.Flags;
import javax.baja.sys.Property;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
import javax.baja.util.BFolder;

public class BDashboardRoot extends BFolder {

    public static final Property title = newProperty(0, "信息总览", null);

    public String getTitle() {
        return getString(title);
    }

    public void setTitle(String v) {
        setString(title, v, null);
    }

    public static final Property layouts = newProperty(Flags.READONLY, "{}", null);

    public String getLayouts() {
        return getString(layouts);
    }

    public void setLayouts(String v) {
        setString(layouts, v, null);
    }

    public static final Property layoutLock = newProperty(0, false, null);

    public boolean getLayoutLock() {
        return getBoolean(layoutLock);
    }

    public void setLayoutLock(boolean v) {
        setBoolean(layoutLock, v, null);
    }

//    public static final Property chartGroup = newProperty(0, new BChartGroup(), null);

    public static final Property chartGroup = newProperty(0, new BFolder(), null);

    public BFolder getChartGroup() {
        return (BFolder) get(chartGroup);
    }

    public void setChartGroup(BFolder v) {
        set(chartGroup, v, null);
    }

    @Override
    public Type getType() {
        return TYPE;
    }

    public static final Type TYPE = Sys.loadType(BDashboardRoot.class);
}
